﻿ALTER TABLE [dbo].[Messages]
    ADD CONSTRAINT [FK_Messages_CollaborationRooms] FOREIGN KEY ([CollaborationRoomId]) REFERENCES [dbo].[CollaborationRooms] ([CollaborationRoomId]) ON DELETE CASCADE ON UPDATE NO ACTION;


GO
ALTER TABLE [dbo].[Messages] NOCHECK CONSTRAINT [FK_Messages_CollaborationRooms];

